package com.hcrazy.manchester.app.pojo;

import java.util.ArrayList;
import java.util.List;

public class LiveSort {

	private int sortId;
	
	private String sortName;
	
	private int sortNum;
	
	private String sortPic;
	
	private int sortParent;
	
	private int funCode;
	
	private String sortDesc;
	
	private int type;
	
	private String sortCode;
	
	public String getSortCode() {
		return sortCode;
	}

	public void setSortCode(String sortCode) {
		this.sortCode = sortCode;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	private List<LiveSort> children = new ArrayList<LiveSort>();
	
	private List<Object> infos = new ArrayList<Object>(); 
	
	public LiveSort(int sortId,String sortName,int sortNum,int sortParent,int funCode,String sortPic,String sortDesc){
		this.sortDesc = sortDesc;
		this.sortId = sortId;
		this.sortName = sortName;
		this.sortNum = sortNum;
		this.sortParent = sortParent;
		this.sortPic = sortPic;
		this.funCode = funCode;
	}
	
	public LiveSort(int sortId,String sortName,int sortNum,int sortParent,int funCode,String sortPic,String sortDesc,List<Object> infos){
		this(sortId,sortName,sortNum,sortParent,funCode,sortPic,sortDesc);
		this.infos = infos;
	}
	
	public LiveSort(){
		
	}

	public List<Object> getInfos() {
		return infos;
	}

	public void setInfos(List<Object> infos) {
		this.infos = infos;
	}

	public List<LiveSort> getChildren() {
		return children;
	}

	public void setChildren(List<LiveSort> children) {
		this.children = children;
	}

	public int getFunCode() {
		return funCode;
	}

	public void setFunCode(int funCode) {
		this.funCode = funCode;
	}

	public int getSortId() {
		return sortId;
	}

	public void setSortId(int sortId) {
		this.sortId = sortId;
	}

	public String getSortName() {
		return sortName;
	}

	public void setSortName(String sortName) {
		this.sortName = sortName;
	}

	public int getSortNum() {
		return sortNum;
	}

	public void setSortNum(int sortNum) {
		this.sortNum = sortNum;
	}

	public String getSortPic() {
		return sortPic;
	}

	public void setSortPic(String sortPic) {
		this.sortPic = sortPic;
	}

	public int getSortParent() {
		return sortParent;
	}

	public void setSortParent(int sortParent) {
		this.sortParent = sortParent;
	}

	public String getSortDesc() {
		return sortDesc;
	}

	public void setSortDesc(String sortDesc) {
		this.sortDesc = sortDesc;
	}
}
